<ion-view >

<header  class="user-defined-header user-header-style2 bar" >
		<a class="button button-clear icon ion-ios-arrow-left" href="#/tab/account" ></a>
			<h1 class="title">收藏</h1>
</header>

<header  class="bar bar-subheader  bar-stable bar-mycolor " >
	<div class="row row-center bk-white row-margin">
		<div class="content-center">
			<button class="bt-style2 bt-active2" ng-class="{'bt-active2':isCollectStore}" ng-click="changeToStore()">店铺</button>
			<button class="bt-style2"  ng-class="{'bt-active2':isCollectProduct}" ng-click="changeToProduct()">产品</button>
			<button class="bt-style2"  ng-class="{'bt-active2':isCollectRealStore}" ng-click="changeToRealStore()">茶馆</button>
		</div>
	</div>
</header>


<ion-content class="has-subheader bk-gray" ng-init="changeToStore()">


	<ion-list ng-show="isCollectStore">

		<ion-item ng-repeat="store in storeList" ng-click="product_goto_store(store.id)">

			<img class="float-left box_60x60px margin_right_10px" src={{store.image}}>

			<div>
				<p><a class="gray_medium_font">{{store.name}}</a></p>
				<p><a class="gray_small_font">{{store.descr}}</a></p>
			</div>

		</ion-item>

	</ion-list>

	<ion-list class="product-list-full" ng-show="isCollectProduct">

	 <div class="item item-body" ng-click="goto_product_info(x.id)" ng-repeat="x in productList">
		 <img class="full-image" src={{x.image}}>
		 <div class="item-desc">

			 <p class="list-item-desr">
					 <span class="product-title">
						 <span class="product-title-name">{{x.name}}</span>
					 </span>
			 </p>
		 </div>
	</div>

 </ion-list>

 <div ng-show="isCollectRealStore">
	 <div class="myrow bk-white" id="tea-shops">

		 <div class="tea-shop-item" ng-repeat="item in realStoreList">
			 <img class="tea-shop-img" src={{item.image}} ng-click="goto_shop(item)"/>
			 <div class="tea-shop-info">
				 <span class="tea-shop-name">{{item.name}}</span>
				 <span class="tea-shop-icons">
					 <span class="tea-shop-icon">
						 <img src="img/store/vip.png"/>
					 </span>
					 <span class="tea-shop-icon">
						 <img src="img/store/shang.png"/>
					 </span>
				 </span>
				 <!-- <span id="" class="float-right bt-style3" ng-click="tea_house_follow(item.id)">+关注</span> -->
			 </div>
		 </div>

	 </div>
 </div>




</ion-content >
</ion-view>
